/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.books.service;

/**
 *
 * @author kinglian
 */
public class LoginServiceDBImp implements LoginService
{
    private String username;
    public boolean login(String username, String password) {

        this.username = username;
        if (username.equalsIgnoreCase("steven") && password.equalsIgnoreCase("good"))
            return true;
        else
            return false;
    }

    public String getUsername() {
        return username;
    }

}
